package com.wenge.datagroup.storage.util;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Depp
 * @description
 * @date 2022-09-03 13:09
 */
public class LangMappingUtil {
    //闻海语种映射关系
    public static Map<Integer, String> lanMapping = new HashMap<>();
    //关键词语种映射关系
    public static Map<String, String> aiLanMapping = new HashMap<>();

    static {
        lanMapping.put(1, "zh");
        lanMapping.put(2, "en");
        lanMapping.put(3, "ja");
        lanMapping.put(4, "ko");
        lanMapping.put(5, "ru");
        lanMapping.put(6, "es");
        lanMapping.put(7, "fr");
        lanMapping.put(8, "ar");
        lanMapping.put(9, "pt");
        lanMapping.put(10, "de");
        lanMapping.put(11, "ms");
        lanMapping.put(12, "ta");
        lanMapping.put(13, "th");
        lanMapping.put(14, "km");
        lanMapping.put(15, "id");
        lanMapping.put(16, "vi");
        lanMapping.put(17, "tr");
        lanMapping.put(18, "et");
        lanMapping.put(19, "uk");
        lanMapping.put(20, "it");
        lanMapping.put(21, "sr");
        lanMapping.put(22, "be");
        lanMapping.put(23, "eu");

        aiLanMapping.put("zh", "中文");
        aiLanMapping.put("de", "德语");
        aiLanMapping.put("en", "英语");
        aiLanMapping.put("es", "西班牙语");
        aiLanMapping.put("fr", "法语");
        aiLanMapping.put("it", "意大利语");
        aiLanMapping.put("pt", "葡萄牙语");
        aiLanMapping.put("ru", "俄语");
        aiLanMapping.put("ja", "日语");
    }
}
